const app = {
	state: {
		// 选中数据
		checkedData: [],
		uuid: '',
		treeItemData: null,
		isCocosGame: false,
		treeData: []
	},
	mutations: {
		SET_UUID: (state, value) => {
			state.uuid = value;
		},
		SET_TREEITEMDATA: (state, value) => {
			state.treeItemData = value;
		},
		SET_ISCOCOSGAME: (state, value) => {
			state.isCocosGame = value;
		},
		SET_RREEDATA: (state, value) => {
			state.treeData = value;
		},
		SET_CHECKDATA: (state, value) => {
			state.checkedData = value;
		}
	},
	getters: {
		// 全局配置
		checkedData: state => state.checkedData,
		uuid: state => state.uuid,
		treeItemData: state => state.treeItemData,
		isCocosGame: state => state.isCocosGame,
		treeData: state => state.treeData
	},
	actions: {
	}
}

export default app
